package com.gs.weather.entity;

import org.apache.ibatis.type.Alias;


/**
 * Created with IntelliJ IDEA.
 * User: Legolas
 * Date: 2017/9/21 0021
 */
@Alias("DisasterSubtypeStrength")
public class DisasterSubtypeStrength {
    private Integer id;
    private Integer disasterSubtypeId;
    private String level;
    private String scale;
    private String description;

    public DisasterSubtypeStrength() {
    }

    public DisasterSubtypeStrength(Integer disasterSubtypeId, String level, String scale, String description) {
        this.disasterSubtypeId = disasterSubtypeId;
        this.level = level;
        this.scale = scale;
        this.description = description;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getDisasterSubtypeId() {
        return disasterSubtypeId;
    }

    public void setDisasterSubtypeId(Integer disasterSubtypeId) {
        this.disasterSubtypeId = disasterSubtypeId;
    }

    public String getLevel() {
        return level;
    }

    public void setLevel(String level) {
        this.level = level;
    }

    public String getScale() {
        return scale;
    }

    public void setScale(String scale) {
        this.scale = scale;
    }

    @Override
    public String toString() {
        return "DisasterSubtypeStrength{" +
                "id=" + id +
                ", disasterSubtypeId=" + disasterSubtypeId +
                ", level='" + level + '\'' +
                ", scale='" + scale + '\'' +
                ", description='" + description + '\'' +
                '}';
    }
}
